package main.java.com.xiaowenxiong.controller.test;

/**
 * Created by 15c on 2017/4/26.
 */

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * 配置类
 */
//@Configuration声明是一个配置类
@Configuration
//自动扫描包下的@Service、@Component、@Repository、@Controller的类，并注册为Bean
@ComponentScan("com.xiaowenxiong.controller.test")
public class DiConfig {


}
